package com.powernode.mybatis.service.impl;

import com.powernode.mybatis.dao.AccountDao;
import com.powernode.mybatis.dao.impl.AccountDaoImpl;
import com.powernode.mybatis.service.AccountService;

/**
 * author 金宇廷的星空
 * version 1.0
 * date  2023/4/10 17:59
 * poject Mybatis
 */
public class AccountServiceImpl implements AccountService {
    AccountDao accountDao = new AccountDaoImpl();
    @Override
    public void transfer(String fromActno, String toActno, double vmoney) {
        //转账
        //先查询自己的钱够不（select）
        accountDao.selectByActno(toActno);
    }
}
